Changed Windows platform detection handling in wmi tests.