Python 2.5 dependency fix