consistent version merging windows scotch build and petsc mpi detection