Force platform to windows/non-windows

This should fix (or improve) the test failures on x64-mswin64_100 as
reported by Nobu.