Use curl instead of wget in Makefile

wget isn't installed on OS X by default, so curl will do it better.