OpenMP compilation fix following merge of MPI work.
OpenMP compilation fix following merge of MPI work.

hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,ruthfranklin/hande