Fix build error on OS X due to incorrect constructor param type.

Refs #7557