PluginManager: fix Windows compilation.