add tpye.hpp to install (fix #794)