Added debug helper routine, fixed util Makefile.