fix install.sh

usage of "~" doesn't get expanded, change to use $HOME