Implemented CoreAllocator methods for OSX