Do not use functions that aren't fully supported by Emscripten yet.