Fix GCC build.
Add support for passing additional exception data.