TLS support for MinGW targets.