[PATCH] kbuild scripts: replace gawk, head, bc with shell, update