Use $HOMEBREW_ROOT env variable instead of hardcoded path.