RUBY_PLATFORM is needed in ruby 2.0