Fixed windows compile bug