Add support for JRuby