Fix to CMakeLists.txt for C++11.
Fixes.