Fix the logic for cURL install from sources.