Fix warning
Use GDir instead of dirent