Add version file and CMake module for library.