Change cmake minimum require back to 2.8
Fix issue with recv works with ZMQ_VERSION < 3.0.0
Make strides towards cross platform builds
Fix unused variable warnings