Minor bug and compiler warnings with fake mpi.