some netbsd dirent cleanups, not working