lenient library version parsing