Fixed variable naming error preventing tetgen being compiled.
Following the forked version of tetgen with added cmake functionality.