Update build_dagmc_stack.bash

Updated moab build part of the script to remove some deficiencies, namely the script previously omitted the hdf5_path for moab, and the cgm path in the case of the static build. Also added --enable-shared to the non static build.