Fix multiply defined symbols with recent emscripten
Update emscripten
Add plugin/core patches to fix build