Fix ledger --HEAD to build on OS X 10.9.