First pass at updating build to work on OS X with Homebrew