test-pipe: fix mingw build