fix building with qt5 on linux