Preliminary support for build stack with CMake.

Still needs work...