Install unversioned solibrary

Unversioned solibraries are shipped with -devel packages in Linux
distros. Generate and install it for the consistency.
Resolve linking against ncursesw

The NCURSES library ships with wide-character (UTF-8) version of
libncurses, the wide-character file is called ncursesw.so*. Check if
it is present and link against it.