Fixed some stuff with the matching logic.  some stat libraries aren't
being found