Fix for 10.9 and 10.10 Python 2.7 build issues