Add dirent portable