Set /usr/bin/curl instead of curl.