Fixing up builds, removing unqualified instances of std namespace.