Delete unneeded pat dependencies during install