Fix Meson builds with MSVC

Meson builds are broken with MSVC due to us not setting the C standard. We should fix this and add CI jobs to exercise this platform.