Fixed PATH on OS X.
Fixed which alias on OS X.