Fix compilation with Qt-4.7