bitcoin(d): fix builing on hydra and with boost 1.56
Merge pull request #4978 from abbradar/bitcoin-fix

bitcoin(d): fix builing on hydra and with boost 1.56