Fixing Windows build in QT creator