Section 1. Be it enacted, &c., That in all counties the county commissioners may appoint a competent civil engineer, who shall be styled the county engineer. Such engineer shall serve for a term of four years, and shall receive such compensation as the county commissioners shall fix.