some mmap-related tweaks in the libc crate