Update CMakeLists.txt for c++0x support