app-office/ledger: fix dynlib building