Fix incorrect #ifdef

refs #7454