Enable NDEBUG flag for emscripten builds