1.9-compatible version of the Levenshtein gem