Remove pthread.h from the exported API.