updated to keep up with latest enet and emscripten