dirent.h and io.h replacing unistd.h