Fix ls_alias for certain BSDs

The ls implementation in both NetBSD and OpenBSD lack the -G switch, so the %ls magic doesn't work on them. Looking at the manual pages, it seems that the other two major BSDs support -G (FreeBSD, DragonflyBSD).