fix compilation error with MVAPICH2