Add support to be used with c++ by demangling c++ function names and making the corrupt functions callable (wrapping in extern c).