Fixed some warnings from Windows builds.