Include the C++0x flag in the CMakeLists.txt.