Fixed windows compiling issue.