Changed the WIN32 ifdefs to use _WIN32 instead.