Fix spec_helper for jruby 1.8 mode