Makefile: improve parsing for include/config.h

Fixes #34