fix makefile for the first-run case.