Updated VS project to silence compile warnings.

Also applied some minor fixes to lib directories.