fix ls for bsd types