Fix client-test script for Mac pkg.