Fix a Qt5 build problem