If necessary, the board of county commissioners may provide for the appointment of a resident deputy county treasurer and fix his compensation.