Changes for MinGW compiler

These changes make possible to successfully compile cppformat with MinGW compiler