Fixed install scripts for MPICH2 and HDF5 (did not work correctly for g95 and pgfortran)