win: fix compilation of tests