patch for string_builder_vsprintf