Corrected makefile for building on tod