remove 'private' from src/core/CMakeLists.txt link_libs