Fix plugins on Windows