Changes for compilation on Windows.