REGRESSION (r169042): Fix run-api-tests on Mountain Lion