The problem with checking environment variables is that they could also be set in non-Windows OSes, for a variety of reasons. I’d rather stick to `RUBY_PLATFORM`.