Replace wget with curl

To prevent certificate errors. (Debian Wheezy, Squeeze)
Merge pull request #4 from AladW/patch-1

Replace wget with curl