Fix windows compile error