fix CMAKE_C_FLAGS