Fix the Qt 5 build