Fix enum for jruby-19mode.