Add correct CMAKE_CXX_FLAGS for c++11 in gcc cmake config