fixed error in core/Makefile