minor fix: minimize logic in Makefile