Fixed bug in CMakeLists chain.