build Core API for Mac OS X