use allocate instead of alloc
Merge pull request #39 from Watson1978/master

fix a crash with RubyMotion 2.0. use allocate instead of alloc