let `make distclean` work idempotently

The `Makefile.config` include can be conditional.
Merge pull request #490 from avsm/master

fix repeated make distclean