add checks for the kernel config when building hostap for linux 2.6