add: install_dir to build-control/functions.sh