ledger: boost 1.56 compatibility