On static builds use factories[pluginName] as well, break at the first static KirigamiPluginFactory found. Amends 06f9d190