Fix Qt5 build