Add rustpkg style extern mods to example