Fix build break due to an api change/fix in python-polib.