Add LD_FLAGS and C_FLAGS environment variables

This makes the travis config compatible with `sudo: false` installation, so this gem can be used in the new [container-based infrastructure](http://docs.travis-ci.com/user/workers/container-based-infrastructure/).