Fix build on Qt5