modified Makefile after cmake