make pthread attribute types structs, even when they just have one field this change is to get the right tags for C++ ABI matching. it should have no other effects.
initial check-in, version 0.5.0