Improve Travis' before_install script