Subject to the requirements of Section 3824.5, revenues disbursed to counties of origin pursuant to Section 3821 may be expended for the repair and maintenance of capital assets, including roads, bridges, aviation facilities, buildings, and parking areas. These revenues, including unencumbered revenues already accumulated, may also be expended for the construction of jail facilities.