zmq: fix checking

This fixes building the package.