Fix the Makefile test related targets.