minor tweak for the Travis CI build script

Doing the build in the script section ensures that you can also spot compilation warnings easily.