add to support OS X platform

This patch adds OS X platform support with RubyMotion 2.x :)