Fix #4939
Merge pull request #5046 from hulu/fix-4939-virtual-is_windows

Fix #4939