Fixed TSRM build