Added a fix to allowing building on the latest version of BSD.
Added a fix to allowing building on the latest version of BSD.

duncanmortimer/ledger,duncanmortimer/ledger,jwakely/ledger,paulbdavis/ledger,ledger/ledger,jwakely/ledger,duncanmortimer/ledger,jwakely/ledger,jwakely/ledger,jwakely/ledger,ledger/ledger,afh/ledger,jwakely/ledger,afh/ledger,paulbdavis/ledger,paulbdavis/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,afh/ledger,duncanmortimer/ledger,paulbdavis/ledger,duncanmortimer/ledger,ledger/ledger,afh/ledger,paulbdavis/ledger,ledger/ledger,paulbdavis/ledger,ledger/ledger,duncanmortimer/ledger