fixed a Makefile bug
introduced by refactoring