Build enet and link with it.