update call handlers for latest libc++ in emscripten