The members of the county board of the county and the city council of the city of the first class which agree to build a joint city-county building shall be the building commission to purchase the land for the building and to contract for the erection, equipment, and furnishings of the building and, after completion thereof, shall be in charge of its maintenance and repair.