add slightly better support for picking the homebrew path