build: improve coverage compatibility
build: improve coverage compatibility

The --coverage option hides the underlying implementation details for
providing flags on CFLAGS and LDFLAGS and it is supported at least since
2008 (gcc 4.1.2).

ntd/adg,ntd/adg