Try to fix build on Qt 4.7.