hdf5/vtk: refactor machine specific directories