fixed dependency issue in makefile