[Build] Fixes building with Qt5