fix linux mounting/unmounting during install/uninstall