fix to work with RRDtool less than 1.3