update makelab script

Recent changes in the tex packages included for the labs broke
makelab.py.  This commit fixes those issues.
Merge pull request #385 from ayr0/makelab

update makelab script