fix libs/core/CMakeLists.txt