qmake fixes