modify Makefile to be more robust