And const directives in account.h and commodity.h to allow build in OS X Mavericks.