curl fallback for wget on OSX

fixes GH-39