Real core makefile fix