Making the plugin work on windows