objective-c++ only for OSX