no wget on OS X

wget is not installed by default on OS X, so use curl instead