Makefile & configure: add a NO_FNMATCH flag