Win copmilation fixes.