Make emscripten be more like a standard posix platform.