Revert "Removed ZMQ building as it is not needed anymore."

This reverts commit 7b4cd892c938e27b142bb218bbc443666b12cdaf.