cleanup in build-nco.sh script