Switch compile for Windows or UNIX with USE_WIN32 flag.