(lib) CMake refactoring

Use list(APPEND srcs ...) istead of set(srcs ${srcs} ...)
(lib) Cmake: Use list() command also for libraries linking