the installer will use '/lib/modules/`uname -r`/build', if that directory exists. Otherwise, it will use '/usr/src/linux'. Obviously it will fail on the build directory and fall back to usr/... where linux is a symbolic link linux -> linux...