check for curl function
fix for window paths