Refs #10507. fix warnings on build servers