Fix TRDS build