gracefully failback to curl in case system doesn't have wget