Fix buildscript and move to using ttCore config helpers