Build tls_test script only if TLS stack is enabled