cmake: fix curl download