Fix plugin for Windows