Fix windows compile problem.