Guard availability and thread safety attributes against wide strings.

Found by inspection.