Compile on Windows

Yes, has been upstreamed. That's why the latest geos snapshots work without changes.
You are right, `if defined(_MSC_VER)` shouldn't be needed.
Wanted to sure I don't break anything on other OSes.