Make lpathconf(2) support optional.

Submitted by:	Hashem Nasarat @riseup.net
Merge remote-tracking branch 'upstream/master'

Conflicts:
	Makefile