conditional gemspec code for jruby support