build_libs.sh: fix add 'sudo' remove old directories