Fix library version tests on Python 3.3