BLD: json mingw doesnt have sprintf_s