Fix Qt4 build.