Update makePDF.py OSX 10.10 Yosemite compatibility

This fixes PDF creation, which was broken by upgrading to OSX 10.10 Yosemite. Fix from @flipphillips per https://github.com/SublimeText/LaTeXTools/issues/401