v8: Some functions were missing the static modifier (SWIGINTERN or SWIGRUNTIME) which leads to duplicate symbol definitions if two SWIG modules are used.