build: removes unused references and projects.