Update build.sh

Added shared library paths and path to hdf5 and moab executables