Fixed building based on opentxs.
Fixed check for empty in STL containers.