add c++0x flag to CMakeLists.txt