fix use of libzmq (zeromq) when it is only built as static
zeromq (libzmq) can be built with static/shared or both the old code would not work when only static libs were built for libzmq
Edited by Ken Martin
zeromq (libzmq) can be built with static/shared or both the old code would not work when only static libs were built for libzmq