Fix for generating pluginexport lib on Win32