Fix uninstall.ps1

It would only remove the AfterBuild target from the project file for applications, not class libraries.