Visual Studio 2012: Fixed all warnings obtained with default build.