RUBY_PLATFORM is needed in Ruby2