enable mysql thread.h header