Added some Objective-C++ code for checking Cocoa runtime stuff