removed _winmajor if not defined so that VC 2008 can compile the project