fix a compile warning

This patch fixes a compile warning in a build system where the macro __STDC_LIMIT_MACROS is predefined.
Merge pull request #56 from huahang/patch-6

fix a compile warning
Use MCHECK in ThreadLocal.h

Fixed issue #54.
Merge remote-tracking branch 'upstream/master' into HEAD