globals: Disable TLS in static Windows builds The cleanup callback would run after TLS was deallocated.