Fix sdkhooks.inc compile error