conditional behavior based on version of 'compare'
make 6.7 versions happier