RUBY_ENGINE is not defined in ruby 1.8.7