windows: fix compilation of tests