Expand ~ to user's home in prefix of install-links script.