Libya to hold elections if referendum not held