Trick CMake into compiling q_shared as both C and C++