using curl on osx