Added -L switch to curl commands

It seems there is now a redirect for the GitHub download URL – thus, the `curl` command does not work. I added the `-L` switch to fix this.