add support for local-tld on mac