Fix for Python tests on Mac OS X.