Revert "Sync curl build from sources logic."

This reverts commit 62d0c527d9f758782dcfae9cb80977b9dc511cd2.