Some corrections to Visual Studio 2008 project.

Tested with VS2008 and passed.

Note: There are 6 warnings about using "localtime_s"
instead of "localtime". These can safely be ignored.