clean up the generated Makefile a bit