make remote.c build with VS compiler 2008

This patch enables pygit2 builds for me (python 2.7 with Visual Studio 2008 Win64).