adapt dynamic linker for new binutils versions that omit DT_RPATH