Makefile: fix header dependency checker to allow NO_CURL builds