Quiet compiler warnings on gcc. refs #6098

This also related to getting compilation working
for clang on the mac. refs #6345