Add LD_FLAGS and C_FLAGS environment variables