Support non-root local (--prefix) installation.