Fix issue #21. Detect regular vs generated bracket and act accordingly.
The bracket code, which exists only once, gets the full definitions for stubs.
The regular pieces, of which there can be many, gets the minimum declarations and definitions needed to build and link.
This way the variable definitions exist only once.