Windows platform fixes.
Platform dependent PluginManager class.