osx fix for mmap