Use mmap to allocate macos executable memory