Fix plugin activation on Windows.