try to fix the qt-4.7 compilation failure