updated dirent.h to a more Unicode-compatible version
- Copyright (C) 2006-2012 Toni Ronkko
- modified by adding warning prevention features