Solaris fixes
Fixes necessary to build HEAD on Solaris using meson, both in the meson build itself (such as using sunos
instead of solaris
as the system name to check for), and in the epoll-workalike code that is only enabled in the meson build, and not
in the autoconf build.