Finish Windows port