Bug 1097173 - fix libzmq dependency

This adds a check to see if zmq is installed via brew. This helps if pkg-config is not installed or if libzmq is installed, it may not be detected by pkgconfig in some cases as I have just seen.