macros.cmake fix for gcc precompiled headers with qt and out of source build