Fixes for building against opentxs