Use __EMSCRIPTEN__ for ifdefery, not EMSCRIPTEN.