Fix & rename read_sonames => jl_read_sonames

fixes problem with using the abs path where it would pick up the library
for the wrong architecture.