Fixes for building dogecoind on OSX with homebrew