Avoid unnecessary re-install of dependencies