Update CMakeLists.txt

Added C++11 flags to CMake