Add CMake option to use C++11 features