Fix UnboundTypeError.
Use __EMSCRIPTEN__ for ifdefery, not EMSCRIPTEN.
Merge pull request #2877 from waywardmonkeys/incorrect-ifdefery

Use __EMSCRIPTEN__ for ifdefery, not EMSCRIPTEN.
Merge pull request #2875 from waywardmonkeys/upstream-from-imvu

Fix UnboundTypeError.