Added release O2 flag support for Emscripten build scripts