utils: support using a brewed curl, if present

Fixes #264.