Add CMake build

Use CMake

NOTE: this was only tested on CentOS with some custom installs