Move Windows port to MinGW