make windows cross compile static daemon work Upstream-commit: ca8f24679e4bea9eb6a3899a02252ad991d04624 Component: engine