Update updateassets to add the extern "C" lines. Current assets file must be recompiled to work peroperly.
Fix to __cplusplus ifdef.