fix jruby build on travis.