Resolve {MOC,OBJECTS,UI}_DIR relative to build directory
Previously, these where resolved relative to the .pro file in the source directory, which is obviously wrong for shadow builds.