Merge pull request #4815 from endrift/forward-port-deploy-mac Tools: Fix recurring multiple times over the same library in deploy-mac.py