Attempt to make pybtex compatible with Python 2.6