First pass at converting a few makefiles to CMake.