[Build] Fixed building with Qt5