Fixed bug when build project.