There's a file in the Emacs distribution (it's share/emacs/site-lisp/site-start.el in 24.4 from ftp.gnu.org, it might be in a different place on other versions) that allows you to define HOME, i.e. what `~' expands to. Mine's attached, obviously change as suits you.