Fixed build of core with qmake.