subst-vars.sh: accomodate Mac 'stat' options