In case the office of clerk shall be vacant, or the clerk and his deputies be absent, refuse, or fail to perform the duties required, the board may appoint a clerk for the time, who, on taking the oath of office shall be authorized to discharge the duties and to receive the compensation, for the time being, of the clerk of the board.