allow user to directly set install dir, and also be more XDG-friendly