CI: removed AC in extern C check
CI: replaced head with cat and filtered out tools for extern "C" check.
Merge pull request #2080 from dangnhat/removed_AC_in_externc_check

CI: Extended extern C check