small qmake fixes for Qt5