Fix democlient compilation.
Fix democlient compilation under MSYS.