update windows dirent implementation