Add CMake support. Fixes #14.