Fix spec for jruby and rbx