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