Avoid spurious errors in Windows build script