Make the pregenerated config.h adapt to linux/darwin depending on host

Change-Id: I97d241ec9eb283802143779b8e0ca89a52a20d90