fix for os x curl