[ENH] remove annoying warnings from PHT build.