AC_SEARCH_LIBS more libs for build on MSYS2/Cygwin/MinGW-w64

gettext, regex and iconv added. You can use version 2.5.1
of Tor Lillqvist's port of GNU libc regex package.

menu and panel also search for menuw and panelw so that
wide character versions can be found and used.