Add USE_TH-macro for supporting ghc7.6