Fix compilation on Mac.

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