Fix jruby support