tests: fix build on Windows