build.sh: force a clean build, add logic to cleanup section