Fixed a Windows compiling error. Refs #8655.