Check that version of ZeroMQ found matches the requested one

Solution works on all platforms. Using of external grep tool removed.