fixed windows compile error