macroize a bunch of boilerplate in bootstrap.c