updated mac install script for mpi