Only export zmq_* symbols

Backport of zeromq/libzmq#817.