Enable gettimeofday with VS projects.
Update VS project to use MultiByte character set.