fix incorrect check for JRuby
fix incorrect check for JRuby

seuros/celluloid,olleolleolle/celluloid,davydovanton/celluloid,jasonm23/celluloid,dilumn/celluloid,marshall-lee/celluloid,TiagoCardoso1983/celluloid,kenichi/celluloid,celluloid/celluloid