Updated for the latest mruby-cfunc/cocoa.