Fix empty exports file
Add a few helper macros
Leverage RC's ability to parse C code