Fix LS command for Solaris Boxes

Fixed ls command for solaris boxes. Will use solaris ls version if it cant find
gnus version of ls.