Changed to trying wget and then curl on linux to handle older version of wget that do not support SNI and fail when downloading python