Add gcov library and coverage compiler flags.