Update CMake subtree and propagate lib type to projects