[Bug 7022] makefile includes wrong config.h