Add LDFLAGS and CFLAGS to environment