Fix AFALG kernel and headers mismatch problem