address python issue10910

address failing to build on OS X.
see http://bugs.python.org/issue10910