Add two "ld" variables missing from configure.com.

This should close [perl #119197].