Cleanup common makefile