check os and choose which ls command to use