I was unaware that zmq.hpp had been moved to a separate project. Now the correct .hpp file is used. For some reason the project somewhat linked with the zmq.hpp file installed elsewhere on my computer!