Windows build

Full working mingw build for Windows