fixed Makefile buglet to avoid unnecessary recompiles