use getdirentries64 for osx