fixed mpifirst build issue