Linux installer: Allow using ~ when specifying the installation directory