ledger: Clean-up dependencies, use ninja for build

Change urls to point to ledger organization on github

Closes #19777.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>