No public funds shall be paid to any library failing to comply with the provisions of this act [18-2-8, 18-2-14, 18-2-17, 18-2-18 N.M. Stat. Ann.].