Change all WIN32 defines to _WIN32

@vgvassilev hope you can get this merged :)