Add patch for mingw and windows vsnprintf