switch back to using 'which', since @travisci doesn't provide it on the $PATH for obvious reasons; make either which implementation raise a sensible message if its underlying binary is not present.