Corrects the handling of getuid on emscripten, which was consistently reporting as 0. (cherry picked from commit e81c4e84b3) Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
e81c4e84b3