[build] Update install-sh and mkinstalldirs (using versions from automake)