Fixed build issue with qt5