Updated pre-install to use pwd instead of realpath(), so symlinks are preserved in configured paths