Removed curl dependency by using cmake internal curl

No match.