Improve debug output
Fix search through extensions
We need jl_lookup_soname on linux