fix build with Visual Studio

This patch

- fixes project files for VS2008 and VS2010 according to makefile changes
- fixes some format strings using %ju or %zu (using %llu instead)
- fix typo in stricmp in port.c