Add dummy typedefs if we are not in the js package (to make macros happy)
Merge pull request #17 from volkipp/custom-build

Fix to allow macros to parse externs.