Changed ~ to ${HOME}; fixes issue with cygwin.