mac os x fixes
get curl working on OSX