ruby-2.0.0p247

Bumps the ruby 2.0.0 version and fixes build on OSX.

It's my first PR so please be gentle :)