CI: replaced head with cat and filtered out tools for extern "C" check.