Add buildclan target to clean intermediate build files.
Log return value (ref gh-35).