This does the trick on Ruby 2.0 on Linux
Use RBASIC_SET_CLASS for Ruby 2.1 compatibility