winpr: fix unit tests on Windows