Updated Windows project and added Windows support for cmake compiling.