Make setuplib.py python 2.5 compatible