build: Only link -lcunit for unit tests itself
2 files changed