Please let me know how do I generate the config files?
Use Linux.
We should probally add a 'Supported hosts' or 'known-to-work' build hosts to the wiki. If nothing else then a warning that windows and cygwin are uncharted territory and not much effort has gone into supporting them.