Refs #314. Fixed clang compiling bug on OSX.