Fix democlient compilation under MSYS.