Make the Emscripten examples work again, now compiles with -O3