Add conditional compilation for libzmq 3.x stuff