Fix windows build for QT