closed #5056. fix  windows compile error