fixed cmake files: minimum version 2.6, TDR/HDF5 fix