Fix release build break in ted caused by malformed conditional and missing System.Text import
#214
+4
−5