Add Homebrew support

Also updates `deps/build.jl` to install the version with our patches merged in.  Once upstream releases `1.0.5`, we can update to using that instead, but since all tests pass and this simplifies our burden of carrying around patches, this seemed like a good plan to me.