Changes to compile on windows.