Fixed cxmc to build for iOS