make pthread attribute types structs, even when they just have one field