Fixed CMake with C++11