make native extension compilable under rubinius
beginning support for jruby