Modified CMakeLists.txt, we cannot use -std=c++0x and support CUDA