Fixing distributing_factory for MSVC