Add and use which helper

/usr/bin/which continues to be deficient on Tiger.
Hopefully fixes #99.