Rename "static" generator to "global"

First step for #163

I don't think that a lot of code uses the macro for the moment, and even less for the "static" generator, so this shouldn't be too big of a change.