Move JRuby check farther down in celluloid.rb