removed useless include of dirent.h

removed some unused #include which can frighten embedded developers :)