Fixed not removing directories upon uninstalling