Fix installation on travis. Curl doesn't follow redirects
Merge pull request #971 from alex/fix-travis-install

Fix installation on travis. Curl doesn't follow redirects