Fix JRuby build when RUBY_VERSION is set. Closes #718.
Bump jruby, fix gem license warning