Add support for <pathprefix> in installer.

Related to plexinc/plex#771
Related to plexinc/plex#779