Fix compilation on Windows. Requires VS2013 to properly compile.

Fixed also gitignore to ignore win32 binaries.