Changed location of TC ifdef back to where it was