install.sh: improve @basedir@ installation substitution