add dirent port for win32