PluginManager: fix compilation on Windows.