CRT object files which contain process startup routines are not in a fixed directory. Unfortunately compilers have to be hard-coded to contain an appropriate directory name.
Well, can't that be made a build parameter, that can be determined during build configuration? CMake'ifying the project might help you get there perhaps?