create macro for dealing with translation units that inserts the appropriate native struct free calls after the body is run