Add TypeValidator.cpp to cmake build.