made it compile on windows/qt5