Removed the buildforpackage flag. Split "cbuild" into the three variants required, for auto-build, and package parts and main.