allow mpi support in build.