Adapt to homebrew's move of the tap directory

Closes #4035. Closes #4029. Closes #4026.
Merge pull request #4042 from rolandwalker/tap_location_change

Adapt to homebrew's move of the tap directory