Work around an NPTL-specific TSD issue.

Work around a potentially bad thread-specific data initialization
interaction with NPTL (glibc's pthreads implementation).

This resolves #283.
2 files changed