[ok][bug][fix] Bugs in Debian libedit found. Fixed problem with finding correct libs (global/local) by cmake.