fix target test in Makefile