fix debug.h + windows.h incompatibility
use #if _WIN32 instead of #ifdef __WIN32