Fix the plugin to work under Windows