adds homebrew dependency handling for OSX