fix dynamic linker handling of empty path file or error reading path file