Corrected a compile error for windows