Fix qmake build