switch to RUBY_ENGINE_OPAL in conditional