fixed windows compile problem