meson.build: Improve Windows compatibility

Meson still needs a patch to pick the correct compiler on Windows and enet
still does not link on Windows.