fix build issue on linux with Qt5