Fix compilation on Mac.

Mac doesn't have the MAP_POPULATE mmap() flag.
Mac also doesn't have the mmap64() function.