Fix discrepencies between unix/osx with whereis cmd.