Only apply code coverage flags for GCC and Clang.