Fix run-tests.sh on Solaris.