Initial CMake build support. Related to issue #86.