Fix support for dependencies with non-ascii symbols in names