It is the duty of every office, department, institution, board, commission or other governing body or officer thereof of this state or of any political subdivision thereof to award all contracts for the construction of public works or for the repair, reconstruction, including highway reconstruction, demolition or alteration thereof, to a resident contractor whenever practicable.