Changed build process for jruby.