Trying to detect as many versions of ls as possible.