Updated HDF5 to latest version. Added flag to build c++ libraries.