mpi and common.mk changes