Fix buildscript for Python2 on OSX