Issue #311: Add option --clean to remove cache and temporary files before building.