Somewhat more clever way to generate the %use guard macros