Update download links and tell curl to follow redirects

I tried to update to the latest phantomjs release and found that the googlecode links weren't working anymore. This patch updates those links and also tells curl to follow redirections, as it won't work otherwise.