Make the static mpi version compile