Fixed substrate.h and finished MSHookIvar