Configure: use correct variable to infer the .ld file location