seems that BSD has fixed this issue with dirent*