Added cross-platform dirent.h