Elections only way to build a new Libya: UN envoy