added #ifdef guards to to avoid building win_logger.cc on posix