make apitome jruby compatible

As discussed [here](https://github.com/modeset/apitome/issues/13)