Fix build with Qt5