Make TH.hs buildable from top-level package directory