update release CFLAGS and LDFLAGS.