A board of supervisors is prohibited from accepting federal monies for a construction project if as a condition of accepting the federal monies the board of supervisors is required to give a preference to union labor.