Updated to work with ZeroMQ version 4

As requested at https://github.com/nimrod-code/packages/pull/84