C++: fixed UT compilation on Windows

Hello,
Small fixes for UT compilation
- renamed variable (it again clashes with windows.h macro)
- changed usleep to THRIFT_SLEEP_USEC