fix install script base dirname used in install.sh