BLD: Fixes for octave preventing possible MPI error