update makelab script

Recent changes in the tex packages included for the labs broke
makelab.py.  This commit fixes those issues.