Change how we use snprintf to find output length--works on windows
Ensure we don't redefine lseek
Enforce wide strings in unicode mode
Force long strings
Check for windows threads in configure
Update windows notes