Check if RUBY_ENGINE is defined (1.8.7 doesn't support it)