Add hooks to the codegen macros to support NACL codegen.