Libraries skirted law, audit claims : grants bypassed purchasing process.