Changed makefile to automatically remove old object files