split tetgen in to  main and lib, add install and uninstall support for cmake