Updated the makefile to use the new emit option and make structs public to silence warnings.
Merge pull request #2 from mfrawley/bugfix-fix-and-warnings

Updated the makefile to use the new emit option