Add before_install hook to Travis CI.