Fixed Kernel check for 9.x Branch.