improved the homebrew installer detection, fix #3079