Try accessing curl through the given path, if which-command is missing

Needed for ipcop. ipcop is missing the command "which".