Ok, I was able to resolve my problem by uninstalling cmake from yum and manually building the latest version from CMake - Cross Platform Make. (as of this writing the current stable version is 220.127.116.11).
Pretty simple install
tar -xvvf cmake-18.104.22.168.tar.gz
update your PATH
After this I was able to run cmake again for kv-c-2.1.57 with success.
However then I encountered another problem during make with the following error message:
ld warning libmawt.so not found (not exact error, can't remember)
/usr/lib/jvm/jre/lib/amd64/libjawt.so: undefined reference to `awt_FreeDrawingSurface@SUNWprivate_1.1'
To fix this I ran:
choose the one with jre/lib/amd64/xawt and set this path to RPATH in my environment.
Then ran make again. Then make install. Success!
Hope this helps someone else.