Fix broken build for jruby