Fixed issue with before_install hook in travis.yml