Fix configure --prefix

If --prefix is provided use it to determine where to put .el files.
This is useful when installing into home dir (e.g. using examples from
install-from-git.sh in emacs-dbgr).