Refactor: Split win32.h from unix.h

Eliminate as many unnecessary porting defines as possible.