Builds with MinGW-w64/GCC

Applied windows-specific code and build-system changes.
updated version number in WINDOWS.md
fixed typos in WINDOWS.md