cmake: add LD_LIBRARY_PATH to RPATH
LinkDef: delete RecordTargetParams, which was never mentioned in any of original LinkDef's