Host-dependent UNIX dirent.h access