windows: Fix compilation with mingw-w64 so it uses correct printf implem...

...entations

Without this flag, mingw-w64 uses the msvcimplementations of snpintf and the likes.
This is not really a problem since they work with the the fixes provided for msvc,
but due to the way mingw-w64's stdio.h is structured we cannot get it to use the fixes.