fix emscripten syntax error on linux