Updated the makefile to use the new emit option 

and make structs public to silence warnings.

Anyone care to review/merge? @shilgapira