Adding VS 2013 compile support

Adds compilation support for VS 2013 tools. As some Windows functions are obsolete on newer Windows I have disabled the warnings with `#pragma`s.