Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some