Fixed build for the TLS-related stuff.