More cleanups of build around libedit