Cleanup awk scripts to make them POSIX compliant.