Change set_env_FLAGS -> set_env_flags and CFLAGS -> CPPFLAGS