correction Makefile detection