Example on how to compile Hooks which are using APIs defined by applications which are moved out of the core