Allow CZMQ code to use zmq_ctx_new/term

Needs macro to backport these to libzmq/2.x