I had that sme trouble with Windows. I got round it by putting a copy of config.h in the src\core folder. I also had a problem with select.h not being found in its nominated path. I added this path and placed select.h in it also. Compile (static modules) progressed without bother then.
Will one of you core committers correct this problem please?