Patches for Solaris/Illumos

Tested with OpenIndiana a151a9 and the current masters of libqb and corosync.
Corosync and pacemaker start without any errors.

Andreas
Can you try https://github.com/beekhof/pacemaker/commit/db29add instead of this part of the patch