build: only consider directories containing a Makefile, fixes compilation crashes...