Refs #9369 Fix warning for MSbuild.