Add enough libraries to build "ledger" command