Fix Makefile to support the incremental make