ensure can compile on Solaris 11. fixes zeromq/libzmq #1220.