Began using CMake instead of custom Makefile because of increasing
complexity of libraries and platforms.