Update monitor.h

FIX: for windows