RUBY_PLATFORM constant is needed in ruby 2.0