Fix qt5 build.