c++11 cmake fix