Fix segfault related to mntent compatibility file