Avoid the use of OS dependent options in mmap.mmap
Fixes #1