Build: switched from plain Makefile to CMake build system