We don't actually have system-dependent versions of these headers, so just put the templates in place directly. This is also a workaround for a SCons bug on Cygwin. Cherry-pick of trunk r2735.
Helpful for git-svn users