Fix generated initialize visibility under jruby