Call type -p in a more compatable way.