Patches for Solaris/Illumos

Tested with OpenIndiana a151a9 and the current masters of libqb and corosync.
Corosync and pacemaker start without any errors.

Andreas
This looks the same as the normal #else block, why the duplication?