Set platform using Platform.new for Windows version.