Use CP/M-style switch prefixes (/D instead of -D) on Windows.
Fallback to non-thread-safe libraries if the thread-safe ones are unavailable.
Rename branch