[Build] Fixed building with Qt4