Merged fixes from Dogecoin

brew install berkeley-db4 boost miniupnpc