fixing makefile for T3