add rpath to link