Improve qmake C++11 support.