Maintenance Costs, Outside Options and Optimal Ownership of a Public Good