revert some changes in Makefile