Bug fix with Makefile