kubo-build.sh: adapt script for current enviroment