Corrected makefile to build on TOD