use a different error code on windows, fixes broken test