switch on emscripten not supporting select(write-sets)