added __USE_UNIX98 to pthread.h