Fix build issues

Also added iterable support to PiiValueSet.