configure: Ensure that user's LD setting is respected

Authored by bgamari on Jul 28 2017, 12:35 PM.