modify CFLAGS and LDFLAGS for heroku