Fix import for python 3