Changes homebrew detection to look for .homebrew directory