Use --enable-cxx for hdf5