Code cleanup

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Address Visual C++ portability issues

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Add Visual C++ project files

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update old VC++ project files

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>