elf_plugin: normalize path before looking up for libraries

In this way we end up with a swirl with all the path normalized and
cleaned