use upstream fix for curl build fail