Add libedit dependency.

Fixes: 	#1509