Add before_install directives for travis-ci