initial porting changed to _CYGWIN). should fix up word-size #define and hopefully therefore unbreak sparc64 build.