Extract version info from CMakeLists.txt