Make these scripts work on SunOS too.