Emscripten mirrors Linux. We need to define ext prototypes.