Build fix for Windows.

Refs #6008