Update to dynamically discover kernel version and switch sysent structure at runtime