[Bug 27739] New: build in a separate directory includes config.h from build directory