homebrew detection