Fixed build error except Windows