Fixed windows compile error