fix dirent->reclen missing on linux