support older versions of awk