fix for new curl behavior, add git build, make dists and build dirs