Updated platform.rake to generate the same constants that Ruby 2.1 generates.