Add build state constants
set build state after the task is finished.
check the configure file under the source directory