Add CMAKE_C_FLAGS to cache in toolchain file so that correct flags are used on the first build.