Updated build files to fix issues when building a single project.