changed Makefile to behave nicely