-Fixed a bug when building a project.