added Windows port support