Test: Add -lgcov to the build flags for unit tests.
This is needed to avoid undefined references to __gcov_dump.