Implementation of whereis differentiation between Darwin and Linux.