Merge pull request #1 from AzizLight/cgbase-fix

Fix RubyMotion compatibility issue