fix project files
fix format strings
fix typo in stricmp in port.c
Merge pull request #1629 from rainers/fix_vsbuild

fix build with Visual Studio