Any gift or bequest, when accepted by the governing body of the municipality, shall be received by the treasurer or other corresponding officer of the municipality and expended by and under the direction of the board of trustees of the free public library for the purposes for which the gift or bequest was made, in the same manner as other funds are expended by such board.
N.J.S. § 40:54-22