Keep CMAKE_CXX_FLAGS value

CMAKE_CXX_FLAGS might be set by user, so cmake shall not overwrite its
value.