Refactor except clauses
Make use of ctype.util.find_library