fixed failing build for python 3