meson: make check and tests build on Windows with msvc
7 files changed