Fixed build for OSX.  Refs #7948.