THRIFT-1824:many compile warning, becase Thread.h includes config.h
Client: build
Patch: Jake Farrell

Wrap our config.h with #ifndef CONFIG_H to guard against duplicate definitions