Libya’s politicians endorse new leaders, but many challenges lie ahead