make jruby happy
exclude rubinius and jruby only constants