ruby 1.8 doesn't define RUBY_ENGINE