fix win release compilation