Fixing main makefile and makefiles in obj/