Fixed bug in EMCC 1.3.1