Fix Qt 4.6 build.