update enet and luajit from upstream