fix libdir + rpath