Fixup JRuby 2.0.0

These things apparently do not work on JRuby in 2.0.0 mode.