Update subscriber.cpp

resolve macro re-definition of min/max in windows with define