Fix sdkhooks.inc compile error
Merge branch 'sdkhooks-inc-fix'