Add kernel version check