OSX build support for Python library