Travis-CI: Run autotools before tests

This adds a before_script hook which executes the ./bin/build command,
so that it performs an identical setup as Heroku.