Makefile change for CUR_DIR build