Improved build process for Travis CI