Platform independent implementation of Unix which command.
