Make platform and Python version independent.

Update LabSchedule to be compatible with Linux and Windows in Python 2.7+ and Python3.3+.