minor changes in compiling tls version.