Fix jruby builds